<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改库存日志')" />
    <th:block th:include="include :: datetimepicker-css" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-warehouseItemlog-edit" th:object="${gysptWarehouseitemlog}">
            <input name="id" th:field="*{id}" type="hidden">
            <input name="orderId" th:field="*{orderId}" class="form-control" type="hidden">
            <div class="form-group">    
                <label class="col-sm-3 control-label">仓库ID：</label>
                <div class="col-sm-8">
                    <input name="warehouseId" th:field="*{warehouseId}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">单据编号：</label>
                <div class="col-sm-8">
                    <input name="orderNo" th:field="*{orderNo}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">材料编号：</label>
                <div class="col-sm-8">
                    <input name="clbh" th:field="*{clbh}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">材料分类：</label>
                <div class="col-sm-8">
                    <input name="clfl" th:field="*{clfl}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">材料品牌：</label>
                <div class="col-sm-8">
                    <input name="clpp" th:field="*{clpp}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">物料名称：</label>
                <div class="col-sm-8">
                    <input name="mingc" th:field="*{mingc}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">材料规格：</label>
                <div class="col-sm-8">
                    <input name="guig" th:field="*{guig}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">材料单位：</label>
                <div class="col-sm-8">
                    <input name="danw" th:field="*{danw}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">库存材料数量：</label>
                <div class="col-sm-8">
                    <input name="kucshul" th:field="*{kucshul}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">备注：</label>
                <div class="col-sm-8">
                    <textarea name="memo" class="form-control">[[*{memo}]]</textarea>
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <th:block th:include="include :: datetimepicker-js" />
    <script th:inline="javascript">
        var prefix = ctx + "gcgl/warehouseItemlog";
        $("#form-warehouseItemlog-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-warehouseItemlog-edit').serialize());
            }
        }

    </script>
</body>
</html>